﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Maniax.HoldEm
{
    public class Card
    {
        public enum SuitType
        {
            Clubs,
            Diamonds,
            Hearts,
            Spades
        }

        public enum RankType
        {
            Two,
            Three,
            Four,
            Five,
            Six,
            Seven,
            Eight,
            Nine,
            Ten,
            Jack,
            Queen,
            King,
            Ace
        }

        public Card(SuitType suit, RankType rank)
        {
            Suit = suit;
            Rank = rank;
        }

        public SuitType Suit { get; private set; }
        public RankType Rank { get; private set; }

        public override String ToString()
        {
            return String.Format("{0} of {1}", Rank, Suit);
        }
    }
}
